﻿namespace GFTest
{
    public partial class GameEntry
    {
        public static LogComponent Log
        {
            get;
            private set;
        }

        public static LuaComponent Lua
        {
            get;
            private set;
        }

        private static void InitCustomComponents()
        {
            Log = UnityGameFramework.Runtime.GameEntry.GetComponent<LogComponent>();
            Lua = UnityGameFramework.Runtime.GameEntry.GetComponent<LuaComponent>();
        }

        private static void InitCustomPlugins()
        {
#if (UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR
            TLStudio.Plugin.MemoryWarningManager.On_ReceiveMemWarning += delegate(int level)
            {

            };
#endif
        }

        private static void InitCustomDebuggerWindows()
        {
        }
    }
}
